<?php

class ProfileController extends LiriopeController {

  public function show($vars=NULL) {
    $page = $this->getPage();

    $profiles = new Profiles( 'data/'.a::get($vars, 'data'));

    $slug = a::get($vars, 'slug');
    $page->profile = $profiles->getBySlug($slug);
  }

}